From: Rui Matos Date: Fri, 30 Nov 2012 00:27:16 +0000 (+0100) Subject: main: Initialize WindowManager earlier X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5217 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a9ec8a354af6532788776d71f8ecb935721dd5c8;p=gnome-shell.git main: Initialize WindowManager earlier This allows us to register keybindings from most other places that might need to do so like the panel or any status indicator. https://bugzilla.gnome.org/show_bug.cgi?id=682315 --- diff --git a/js/ui/main.js b/js/ui/main.js index e1b583799..12daee24d 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -161,13 +161,13 @@ function start() { xdndHandler = new XdndHandler.XdndHandler(); ctrlAltTabManager = new CtrlAltTab.CtrlAltTabManager(); overview = new Overview.Overview(); + wm = new WindowManager.WindowManager(); magnifier = new Magnifier.Magnifier(); if (UnlockDialog.isSupported()) screenShield = new ScreenShield.ScreenShield(); else screenShield = new ScreenShield.ScreenShieldFallback(); panel = new Panel.Panel(); - wm = new WindowManager.WindowManager(); messageTray = new MessageTray.MessageTray(); keyboard = new Keyboard.Keyboard(); notificationDaemon = new NotificationDaemon.NotificationDaemon();